package model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

@Data
@TableName(value = "stu_info")
public class StuInfo implements Serializable {
    @TableId(value = "stu_id", type = IdType.AUTO)
    private Integer stuId;

    @TableField(value = "stu_code")
    private String stuCode;

    @TableField(value = "stu_name")
    private String stuName;

    @TableField(value = "class_id")
    private Integer classId;

    private ClassInfo classInfo;

    private static final long serialVersionUID = 1L;

    public static final String COL_STU_ID = "stu_id";

    public static final String COL_STU_CODE = "stu_code";

    public static final String COL_STU_NAME = "stu_name";

    public static final String COL_CLASS_ID = "class_id";
}